package com.sc.nft.entity.vo;

import com.sc.nft.enums.SaasTaskTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
@Data
public class SaasTaskDetailsConditionVO {

    @ApiModelProperty(value = "任务类型")
    private SaasTaskTypeEnum taskType;

    @ApiModelProperty(value = "任务类型描述")
    private String taskTypeName;

    @ApiModelProperty(value = "主动邀请人数(这里意味着是邀请者的意思)")
    private Integer voluntarySum;

    @ApiModelProperty(value = "任务进度")
    private BigDecimal schedule;

    @ApiModelProperty(value = "只有在需要持有藏品的时候,才会存在这个数据,否则不会有.")
    private List<SaasTaskDetailsCollectionVO> saasTaskDetailsCollections;

    public void setTaskType(SaasTaskTypeEnum taskType) {
        this.taskType = taskType;
        this.taskTypeName = taskType.getDesc();
    }
}
